package com.platform.common.core.domain.export;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.platform.common.core.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author mymac
 * @Date 2024/7/10 4:58 PM
 * @Version 1.0
 */
@Data
public class DepartGnjCheckListExportDTO {

    @Excel(name = "运单号")
    private String billId;

    @Excel(name = "实到/应到件数",cellType= Excel.ColumnType.NUMERIC)
    private Long pc;

    @Excel(name = "实到/应到重量",cellType= Excel.ColumnType.NUMERIC)
    private BigDecimal weight;

    @Excel(name = "到达时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date actualArrival;

    @Excel(name = "航空公司")
    private String carrier;

    @Excel(name = "航班号")
    private String fno;

    @Excel(name = "出发站")
    private String depName;

    @Excel(name = "收货人")
    private String consignee;

    @Excel(name = "结算用户")
    private String payeeName;

    @Excel(name = "货物名称")
    private String goods;

    @Excel(name = "货物类别")
    private String cargoTypeName;

    @Excel(name = "收费类别")
    private String categoryName;

    @Excel(name = "收费项")
    private String checkItem;

    @Excel(name = "收费规则")
    private String ruleName;

    @Excel(name = "费率")
    private BigDecimal rate;

    @Excel(name = "金额",cellType= Excel.ColumnType.NUMERIC)
    private BigDecimal receivableAmount;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "账单日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date checkTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "核准时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date approvalTime;

    @Excel(name = "提货状态",readConverterExp="0=未提货,1=全部提货,2=部分提货")
    private String pickupStatus;

    @Excel(name = "备注")
    private String remark;

}
